﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Com.CMS263.DAO;
using Com.CMS263.PO;

namespace Com.CMS263.BLL
{

   public class MarryShowBLL:BaseBLL<Com.CMS263.PO.MarryShow>
    {
       MarryShowDAO dao = new MarryShowDAO();
       public MarryShow entity = new MarryShow();
        public int GetCount()
        {
            return dao.GetCount();
        }

        public override Com.CMS263.PO.MarryShow GetModel()
        {
            return entity;
        }

        public IList<Com.CMS263.PO.MarryShow> GetPagerList(int page, int pageSize)
        {
            return dao.GetPagerList(page,pageSize);
        }
       /// <summary>
       /// 查询幸福ing那四个，可以改变查询个数
       /// </summary>
       /// <param name="p"></param>
       /// <returns></returns>
        public IList<MarryShow> GetListByCount(int count)
        {
            return dao.GetListByCount(count);
        }

        public MarryShow FindModel()
        {
            return dao.FindModel();
        }
    }
}
